package com.ktjy.service;

import com.ktjy.aop.LogManager;
import com.ktjy.dao.UserDao;

public class UserServiceImp implements UserService {

    UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public int addUser(com.ktjy.pojo.User user) {
        //System.out.println(1/0);
        return userDao.addUser(user);
    }

}
